<?php /* Smarty version 2.6.26, created on 2018-07-25 14:31:02
         compiled from E:%5CWWW%5C40.125.208.171%5Cvweb/member%5Ctemplates/account/index.html */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('function', 'import', 'E:\\WWW\\40.125.208.171\\vweb/member\\templates/account/index.html', 1, false),array('function', 'uqcms', 'E:\\WWW\\40.125.208.171\\vweb/member\\templates/account/index.html', 12, false),array('modifier', 'cat', 'E:\\WWW\\40.125.208.171\\vweb/member\\templates/account/index.html', 12, false),)), $this); ?>
<?php echo $this->_plugins['function']['import'][0][0]->import(array('file' => "index/header.html",'title' => "我的账户"), $this);?>

<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "account/tab.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?> 
<style type="text/css">
label input{ margin:23px 5px 0 0; float:left;}
.mymn{ width:100%; padding:10px 0 20px 0; float:left; }
.mymn .l{ width:200px; float:left; }
.mymn span{ font-size:14px; float:left; width:100%; }
.mymn p{ width:100%; font-size:32px; color:#3D4557; font-weight:bold; float:left; } 
</style>
<div class="lbox">
	<div class="mymn">
		<?php echo $this->_plugins['function']['uqcms'][0][0]->load_module(array('m' => 'user','v' => 'row','c' => ((is_array($_tmp="get_one:")) ? $this->_run_mod_handler('cat', true, $_tmp, $_SESSION['user']['uid']) : smarty_modifier_cat($_tmp, $_SESSION['user']['uid']))), $this);?>

		<div class="l">
			<span>可用余额</span>
			<p><?php echo $this->_tpl_vars['row']['price']; ?>
</p>
		</div>
	</div> 
	<?php echo $this->_plugins['function']['uqcms'][0][0]->load_module(array('m' => 'account','v' => 'data','c' => "bill:page=smarty.get.page&page_size=20"), $this);?>

	<table class="ltable">
		<thead>
			<tr> 
				<th width="123">时间</th> 
				<th>商品名</th>
				<th width="100">金额</th> 
				<th width="100">状态</th>  
			</tr>
		</thead> 
		<tbody>
		<?php if ($this->_tpl_vars['data']['list']): ?>
			<?php $_from = $this->_tpl_vars['data']['list']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['i']):
?>		 
				<tr>
					<td><?php echo $this->_tpl_vars['i']['addtime']; ?>
</td>  
					<td><?php echo $this->_tpl_vars['i']['name']; ?>
</td>  
					<td><span style="color:#666666; "><?php echo $this->_tpl_vars['i']['price']; ?>
</span></td> 
					<td>
						<?php if ($this->_tpl_vars['i']['status'] == '1'): ?>
							成功
						<?php else: ?>
							<span style="color:#999999;">未支付</span>
						<?php endif; ?>
					</td> 
				</tr>
			<?php endforeach; endif; unset($_from); ?>
		<?php else: ?>
			<tr><td colspan="4" class="btm"><div class="nomsg"><i></i><span>暂无交易</span></div></td></tr>	
		<?php endif; ?>	
		</tbody>
	</table> 
	<?php if ($this->_tpl_vars['data']['page']): ?><div class="page"><?php echo $this->_tpl_vars['data']['page']; ?>
</div><?php endif; ?>
</div>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "index/footer.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>